﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsFormsApplication2
{
    class Circle : CalculateArea
    {
        private double radius;

        public override double Area()
        {
            return 3.14 * radius * radius;
        }

        public void SetRadius(double radius)
        {
            this.radius = radius;
        }
        public double GetRadius()
        {
            return radius;
        }

    }
}
